package com.scott.crm.teacher.bean;

import com.scott.base.BaseBean;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author 袁海华
 * @date 2021/11/23 9:31
 */
@Table(name="crm_teacher_t")
@Data
public class TeacherBean extends BaseBean {
    /**
     * @author 袁海华
     * @date 2021-11-23 09:31:52
     * @Version 1.0
     */
    @Id
    @Column(name = "TEACHER_ID")
    private Integer teacherId;

    @Transient
    private String name;

    @Transient
    private Integer id;

    @Transient
    private String phone;

    @Column(name = "TEACHER_SALARY")
    private Integer teacherSalary;

    @Column(name = "HIRE_DATE")
    private String hireDate;

    @Transient
    private String clazzName;


}